﻿<!--
Copyright (c) Microsoft Corporation. All rights reserved
-->

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title></title>
    <link rel="stylesheet" href="/css/scenario3_interruptPipes.css">
    <script src="/js/scenario3_interruptPipes.js"></script>
</head>

<body class="win-type-body">
    <div id="scenarioView">

        <div>
            <h2 id="sampleHeader" class="win-type-subheader">Interrupt Pipes</h2>
        </div>

        <div id="scenarioContent">

            <div data-win-control="SdkSample.ScenarioInput">
                <div class="deviceScenarioContainer">
                    <div class="osrFx2Scenario">
                        <p>
                            This scenario shows how to read the switch state and register for a switch state change event from the device. If the device is disconnected and reconnected, you must reregister for the event because it is not automatically done.
                        </p>
                        <button id="buttonRegisterOsrFx2InterruptEvent" class="win-button">Register For Interrupt Event</button>
                    </div>
                    <div class="superMuttScenario">
                        <p>
                            This scenario shows how to register for an event from a device&apos;s interrupt in pipe and how to write to an interrupt out pipe. If the device is disconnected and reconnected, you must reregister for the event because it is not automatically done.
                        </p>
                        <button id="buttonWriteInterruptOut" class="win-button">Write To Interrupt Out</button>
                        <br>
                        <button id="buttonRegisterSuperMuttInterruptEvent" class="win-button">Register For Interrupt Event</button>
                    </div>

                    <button id="buttonUnregisterInterruptEvent" class="win-button">Unregister From Interrupt Event</button>
                </div>
            </div>
            <div data-win-control="SdkSample.ScenarioOutput">
                <div id="switchStates">

                </div>
            </div>


        </div>
    </div>
</body>

</html>